<!DOCTYPE html>

<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
      layout:decorate="~{/layout/default_layout}"
      th:with="pageTitle='Hello!'">
<body>

<th:block layout:fragment="header_css">
    <script src="https://cdn.bootcss.com/vue/2.5.13/vue.js"></script>
</th:block>



<section layout:fragment="header"><p>这是表头</p></section>


<th:block layout:fragment="main">
    <section><p>这是示例页面</p></section>

    <span th:text="${name}"></span>

</th:block>


<th:block layout:fragment="scripts">
    <script th:src="@{/js/test.js}"></script>
    <script src="https://cdn.bootcss.com/vue/2.5.13/vue.js"></script>

</th:block>
</body>
</html>












